﻿<%@ Control Language="c#" Inherits="TTQT.Administration.ChangePassword" CodeFile="ChangePassword.ascx.cs" CodeFileBaseClass="TTQT.MasterControl" %>
 <div align="center">
	<br>
	<br>
	<br>
	<table cellpadding="0" cellspacing="0" align="center">
		<tr>
			<td style="text-align: left">
				Tên đăng nhập
			</td>
			<td style="width: 10px"></td>
			<td align="left">
				<asp:TextBox Enabled="False" Runat="server" ID="txtUserName" Width="300"></asp:TextBox>
			</td>
		</tr>
		<tr>
			<td style="text-align: left">Mật khẩu cũ</td>
			<td style="width: 10px"></td>
			<td align="left">
				<asp:TextBox TextMode="Password" Runat="server" ID="txtOldPassword" Width="300"></asp:TextBox>
				<asp:RequiredFieldValidator id="RequiredFieldValidator2" ErrorMessage="(*)" runat="server" ControlToValidate="txtOldPassword"></asp:RequiredFieldValidator>
			</td>
		</tr>
		<tr>
			<td style="text-align: left">Mật khẩu mới</td>
			<td style="width: 10px"></td>
			<td align="left">
				<asp:TextBox TextMode="Password" Runat="server" ID="txtNewPassword" Width="300"></asp:TextBox>
				<asp:RequiredFieldValidator id="RequiredFieldValidator1" ErrorMessage="(*)" runat="server" ControlToValidate="txtNewPassword"></asp:RequiredFieldValidator>
			</td>
		</tr>
		<tr>
			<td style="text-align: left">Nhập lại mật khẩu</td>
			<td style="width: 10px"></td>
			<td align="left">
				<asp:TextBox TextMode="Password" Runat="server" ID="txtNewPassword2" Width="300"></asp:TextBox>
				<asp:RequiredFieldValidator id="RequiredFieldValidator3" ErrorMessage="(*)" runat="server" ControlToValidate="txtNewPassword2"></asp:RequiredFieldValidator>
			</td>
		</tr>
	</table>
	<asp:CompareValidator id="CompareValidator1" ErrorMessage="Hai mật khẩu mới phải trùng nhau!" runat="server"
		ControlToValidate="txtNewPassword2" Operator="Equal" ControlToCompare="txtNewPassword" Enabled="true"></asp:CompareValidator><br>
	<asp:Label ForeColor="#0000ff" Runat="server" ID="lblUpdateStauts" Visible="False"></asp:Label><br>
	<asp:Button CausesValidation="True" Runat="server" Width="80" Text="Cập nhật" ID="cmdUpdate" onclick="cmdUpdate_Click"></asp:Button>
	<asp:Button CausesValidation="False" Runat="server" Width="80" Text="Thoát" ID="cmdCancel" onclick="cmdCancel_Click"></asp:Button>
</div>